#include <stdio.h>

void show_begain(void) {
    printf("     Welcome to XXX system\n");
    printf("Please enter your instructions\n");
    printf("       registered\n");
    printf("       login\n");
    printf("       help\n");
    printf("       quit\n");
}

    

void show_help0(void) {                                                                            //客服管理员的help界面
    printf("login :You need to enter your identity, ID and password to log in ");
    printf("refister :If you do not have an account, you can register an account. You need to enter: registered identity, your name and password \n");
    printf("search :Search chat logs\n");
    printf("update :Update  personal information\n");
    printf("addrBook :The address book  displays the customer service list\n");
    printf("quit :logout\n");
}
void show_help1(void) {                                                                       //客服的help界面
    printf("login :You need to enter your identity, ID and password to log in \n");
    printf("refister :If you do not have an account, you can register an account. \nYou need to enter: registered identity, your name and password \n");
    printf("send :send a message\n");
    printf("ftp :send file\n");
    printf("search :Search chat logs\n");
    printf("back :Retract the previous message\n");
    printf("update :Update customer's personal information\n");
    printf("addrBook :Address book displays customer service and customer lists\n");
    printf("quit :logout\n");
}
void show_help2(void) {                                                          //客户help界面
    printf("login :You need to enter your identity, ID and password to log in \n");
    printf("refister :If you do not have an account, you can register an account. \nYou need to enter: registered identity, your name and password\n");
    printf("send :send a message \n");
    printf("ftp :send file\n");
    printf("back : Retract the previous message\n");
    printf("update : Update your information\n");
    printf("change : Replace the customer service\n");
    printf("addrBook :The address book  displays the customer service list\n");
    printf("quit logout");
}

int main(void) {
    show_begain();
    show_help0();
   show_help1();
    show_help2();
    return 0;

}